home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-05-25 | 3.6 KB | 73 lines | [TEXT/MACA] |
- Structure and contents of the "LaunchRRH" file
- ----------------------------------------------
- Current for version 1.01 of Red Ryder Host
-
- Strategy: Just before an external application is launched through a
- Red Ryder Host menu command type #50, Red Ryder Host writes a 68 byte
- data file titled "LaunchRRH" (no quotes) in the same volume (and HFS
- folder) as Red Ryder Host resides. This data file is used by the
- external application to learn about the person entering the application,
- and by Red Ryder Host upon re-entry. Therefore, be very careful if you
- change any of the information in the "LaunchRRH" file, as Host needs and
- expects it to be correct upon re-entry. All external applications should
- lay within the same volume (and HFS folder) as Host, and the external
- application should never change the default volume (or working directory
- in the case of HFS).
-
-
- In the below document, a "byte" refers to an unsigned 8-bit value, and a
- "long" refers to an unsigned 32-bit value (4 bytes).
-
- 1 byte: non-zero if the "meter" is running (from a menu command #16).
- 1 byte: caller was using expert menu mode if non-zero.
- 1 byte: non-zero if he get's the 10 minute warning message at next menu.
- 1 byte: non-zero means caller is asking for chat with sysop at each menu.
- 1 byte: baud rate (0 = 300, 1 = unused, 2 = 1200, 3 = 2400, 4 = local).
- 1 byte: non-zero if hold system offline for sysop after this call.
- 1 byte: non-zero means sysop is not available for chat.
- 1 byte: emulate 300 baud for local signons if non-zero.
- 1 byte: year he connected (last 2 digits).
- 1 byte: month he connected.
- 1 byte: day he connected.
- 1 byte: hour he connected.
- 1 byte: minute he connected.
- 1 byte: second he connected.
- 1 long: offset position of caller's record in Userlog file.
- 1 long: if "meter" is running this is the TickCount it started at.
- 1 byte: user's current time limit.
- 1 byte: user's current clearance level.
- 1 byte: bit-mapped settings for combined boards #2-9.
- 1 byte: bit-mapped settings for combined boards #10-17.
- 1 byte: bit-mapped settings for combined boards #18-20.
- 41 bytes: menu file VOLUME:FILENAME to execute upon re-entry to Host.
-
- The external application will most likely be concerned with only a few
- of the above items, the rest are used by Host to "remember" certain
- dynamic settings between launching and re-entry. For instance, the
- external application would probably need to only use the baud-rate
- setting (to re-open the serial port for data I/O), the month/day/year/
- hour/minute/second settings if they wish to watch out for the caller's
- time limit, and the offset position of the caller's record in the userlog
- file so they can refer to the user by his first/last name and get/put
- other information about him. The userlog structure is documented in the
- "Inside Red Ryder Host" chapter.
-
-
- A COUPLE OF BUGS TO BE AWARE OF IN RED RYDER HOST 1.01 THAT HAVE BEEN
- CONFIRMED (AND WILL BE FIXED IN THE NEXT RELEASE).
-
- 1) The user's current time limit/security level in the "LaunchRRH" file
- may not match what is in the user's userlog record if they had been
- changed in the same session as the caller launches the external
- application. You should use those in the "LaunchRRH" instead of those in
- the userlog record. Host erroneously uses the values from the userlog
- record upon re-entry, which may befuddle some upgraded users as to why
- they've suddenly become blackballed.
-
- 2) Host 1.01 will always return to the Main Menu upon re-entry due to
- a code error in Host 1.01 that reads the wrong location in the "LaunchRRH"
- file for the menu to execute upon re-entry. You'll also get a bothersome
- error message (probably a -35) in your CALLERLOG file (if you've checked
- for System Errors to be included in your callerlog).
-
-